﻿using LibNiconico.NiconicoApi.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace LibNiconico.NiconicoApi.Videos.Comments
{
    /// <summary>
    /// ニコニコチャット結果コメント
    /// </summary>
    public sealed class NicoVideoChatResultComment : NicoChatResultComment
    {
        /// <summary>
        /// XMLメッセージ解析
        /// </summary>
        /// <param name="message"></param>
        /// <returns></returns>
        public static NicoVideoChatResultComment Parse(XElement message)
        {
            NicoVideoChatResultComment result = new NicoVideoChatResultComment();
            NicoChatResultComment.Parse(result, message);
            return result;
        }
    }
}
